package com.jesper.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jesper.mapper.DeliveryMapper;
import com.jesper.model.Delivery;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DeliveryService extends ServiceImpl<DeliveryMapper, Delivery> {

    @Autowired
    DeliveryMapper deliveryMapper;

    public void deleteByName(String deliveryName) {
        deliveryMapper.deleteByName(deliveryName);
    }
}
